package richbar.com.richbar.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

import richbar.com.richbar.base.S;

/**
 * Created by Administrator on 2018/12/5.
 */

public class ShopCartListBean extends BaseBean {

    private int codeX;
    private DataBean data;

    public int getCodeX() {
        return codeX;
    }

    public void setCodeX(int codeX) {
        this.codeX = codeX;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * totalPrice : 370
         * list : [{"sellerid":2,"sellername":"小食代","goods":[{"cart_id":1,"goods_id":8,"goods_img":"/upload/15428729341339.jpeg","goods_name":"诗璐雅时尚商务小西装女职业装女装套装修身双排扣正装","goods_price":"185.00","goods_num":2,"goods_attr":"白色,S,分期"}]},{"sellerid":1,"sellername":"店铺1","goods":[{"cart_id":3,"goods_id":10,"goods_img":"/upload/15434100261320.jpeg","goods_name":"GENANX闪电潮牌宽松休闲裤男2018新品秋季英文印花反光条束脚长裤子个性","goods_price":"0.00","goods_num":1,"goods_attr":""},{"cart_id":2,"goods_id":9,"goods_img":"/upload/15428743176208.jpeg","goods_name":"冬加厚羊毛衫女毛衣裙中长款修身印花针织衫套头貂绒毛衣打底连衣裙","goods_price":null,"goods_num":1,"goods_attr":""}]}]
         */

        private int totalPrice;
        private List<ListBean> list;
        private String select;
        private Def_addressBean def_address;
        private String is_def_address;

        public Def_addressBean getDef_address() {
            return def_address;
        }

        public void setDef_address(Def_addressBean def_address) {
            this.def_address = def_address;
        }

        public String getIs_def_address() {
            return is_def_address;
        }

        public void setIs_def_address(String is_def_address) {
            this.is_def_address = is_def_address;
        }

        public String getSelect() {
            return select;
        }

        public void setSelect(String select) {
            this.select = select;
        }

        public int getTotalPrice() {
            return totalPrice;
        }

        public void setTotalPrice(int totalPrice) {
            this.totalPrice = totalPrice;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class Def_addressBean {
            private String id;
            private String person;
            private String mobile;
            private String address;

            public String getPerson() {
                return person;
            }

            public void setPerson(String person) {
                this.person = person;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }
        }

        public static class ListBean {
            /**
             * sellerid : 2
             * sellername : 小食代
             * goods : [{"cart_id":1,"goods_id":8,"goods_img":"/upload/15428729341339.jpeg","goods_name":"诗璐雅时尚商务小西装女职业装女装套装修身双排扣正装","goods_price":"185.00","goods_num":2,"goods_attr":"白色,S,分期"}]
             */

            private int sellerid;
            private String sellername;
            private List<GoodsBean> goods;
            private String select;

            public String getSelect() {
                return select;
            }

            public void setSelect(String select) {
                this.select = select;
            }

            public int getSellerid() {
                return sellerid;
            }

            public void setSellerid(int sellerid) {
                this.sellerid = sellerid;
            }

            public String getSellername() {
                return sellername;
            }

            public void setSellername(String sellername) {
                this.sellername = sellername;
            }

            public List<GoodsBean> getGoods() {
                return goods;
            }

            public void setGoods(List<GoodsBean> goods) {
                this.goods = goods;
            }

            public static class GoodsBean {
                /**
                 * cart_id : 1
                 * goods_id : 8
                 * goods_img : /upload/15428729341339.jpeg
                 * goods_name : 诗璐雅时尚商务小西装女职业装女装套装修身双排扣正装
                 * goods_price : 185.00
                 * goods_num : 2
                 * goods_attr : 白色,S,分期
                 */

                private int cart_id;
                private int goods_id;
                private String goods_img;
                private String goods_name;
                private String goods_price;
                private int goods_num;
                private String goods_attr;
                private String goods_select;

                public String getGoods_select() {
                    return goods_select;
                }

                public void setGoods_select(String goods_select) {
                    this.goods_select = goods_select;
                }

                public int getCart_id() {
                    return cart_id;
                }

                public void setCart_id(int cart_id) {
                    this.cart_id = cart_id;
                }

                public int getGoods_id() {
                    return goods_id;
                }

                public void setGoods_id(int goods_id) {
                    this.goods_id = goods_id;
                }

                public String getGoods_img() {
                    return goods_img;
                }

                public void setGoods_img(String goods_img) {
                    this.goods_img = goods_img;
                }

                public String getGoods_name() {
                    return goods_name;
                }

                public void setGoods_name(String goods_name) {
                    this.goods_name = goods_name;
                }

                public String getGoods_price() {
                    return goods_price;
                }

                public void setGoods_price(String goods_price) {
                    this.goods_price = goods_price;
                }

                public int getGoods_num() {
                    return goods_num;
                }

                public void setGoods_num(int goods_num) {
                    this.goods_num = goods_num;
                }

                public String getGoods_attr() {
                    return goods_attr;
                }

                public void setGoods_attr(String goods_attr) {
                    this.goods_attr = goods_attr;
                }
            }
        }
    }
}
